﻿@model ICollection<AuthenticationClientData>

@*@if (Model.Count == 0)
{
    <div class="message-info">
        <p>
            There are no external authentication services configured. See <a href="http://go.microsoft.com/fwlink/?LinkId=252166">this article</a>
            for details on setting up this ASP.NET application to support logging in via external services.
        </p>
    </div>
}
else
{
    using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = ViewBag.ReturnUrl }))
    {
    @Html.AntiForgeryToken()
    <fieldset id="socialLoginList">
        <legend>Log in using another service</legend>
        <p>
            @foreach (AuthenticationClientData p in Model)
            {
                <button type="submit" name="provider" value="@p.AuthenticationClient.ProviderName" title="Log in using your @p.DisplayName account">@p.DisplayName</button>
            }
        </p>
    </fieldset>
    }
}*@

<div class="grid-70 push-10 socialform">
    <div class="logintext grid-50">        
        <div class="grid-90">
            <b>You'll get memeber previliges like:</b>
            <ul>
                <li>Connect with other players like you</li>
                <li>Get notified for any updates like new club in your vicinity, new player</li>
                <li>Get latest updates on Badminton around the world</li>

            </ul>

        </div>

    </div>
    <div class="loginbut grid-35">
        @using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = ViewBag.ReturnUrl }))
        {
            @Html.AntiForgeryToken()
            <button type="submit" name="provider" value="facebook" class="zocial facebook" title="Log in using your Facebook account">Sign in with Facebook</button>
            <p>OR</p>
            <button type="submit" name="provider" value="google" class="zocial googleplus" title="Log in using your Google account">Sign in with Google</button>            
        }
    </div>
</div>
